import Vue from 'vue'
import Router from 'vue-router'
import Film from '@/components/Film'
import Read from '@/components/Read'
import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Film',
      component: Film
    },
    {
      path: '/read',
      name: 'Read',
      component: Read
    }
  ]
})
